#系统软件 rm screenkey
system='base-devel unzip p7zip openssh curl wget man man-pages-zh_cn sudo ntfs-3g unzip tldr++ neofetch screenkey bash-completion shfmt lolcat axel lsd bat httpie starship reflector asciinema shellcheck axel glow lolcat duf mold'

app='tig stow vhs jq python python-pip xdotool fzf the_silver_searcher ranger git-delta dive unarchiver ctags net-tools dnsutils pgcli mycli lsd lolcat starship lazydocker lazygit xclip dog lolcat figlet neovide-git cmatrix'

# sudo pacman -Ss font | grep nerd-fonts
font="ttf-maplemono ttf-maplemono-nf-unhinted ttf-maplemono-nf-cn-unhinted ttf-sourcecodepro-nerd nerd-fonts-jetbrains-mono  noto-fonts-cjk noto-fonts-emoji noto-fonts-extra"

#font='noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra nerd-fonts-source-code-pro'

# ttf-nerd-fonts-symbols-2048-em-mono adobe-source-han-sans-cn-fonts'
# wsl 安装 ttf-jetbrains-mono-nerd

all="$system $app $font"

#sudo powerpill -Syy --needed $all --noconfirm
sudo pacman -Syy --needed $all --noconfirm

# pip3 config set global.index-url http://mirrors.aliyun.com/pypi/simple
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install pynvim --break-system-packages
